using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN SalaryRulePersonTypeEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: SalaryRulePersonTypeEntity</para>
	/// <para>Description: ClassSalaryRulePersonTypeEntity store data of table SalaryRulePersonType</para>
	///</summary>

	[Serializable]
	public partial class SalaryRulePersonTypeEntity{


		private bool _InternalChangedIsNullSalaryRulePersonTypeId=true;
		private bool _IsNullSalaryRulePersonTypeId=true;
		private bool _InternalChangedIsNullSalaryRuleId=true;
		private bool _IsNullSalaryRuleId=true;
		private bool _InternalChangedIsNullPersonTypeId=true;
		private bool _IsNullPersonTypeId=true;
		private int _SalaryRulePersonTypeId;
		private int _SalaryRuleId;
		private int _PersonTypeId;
		[XmlElement(ElementName = "IsNullSalaryRulePersonTypeId")]
		public bool IsNullSalaryRulePersonTypeId{
			get{return _IsNullSalaryRulePersonTypeId;}
			set{if(!_InternalChangedIsNullSalaryRulePersonTypeId)_IsNullSalaryRulePersonTypeId=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryRuleId")]
		public bool IsNullSalaryRuleId{
			get{return _IsNullSalaryRuleId;}
			set{if(!_InternalChangedIsNullSalaryRuleId)_IsNullSalaryRuleId=value;}
		}
		[XmlElement(ElementName = "IsNullPersonTypeId")]
		public bool IsNullPersonTypeId{
			get{return _IsNullPersonTypeId;}
			set{if(!_InternalChangedIsNullPersonTypeId)_IsNullPersonTypeId=value;}
		}
		[XmlElement(ElementName = "SalaryRulePersonTypeId")]
		public int SalaryRulePersonTypeId{
			get{return _SalaryRulePersonTypeId;}
			set{
				_SalaryRulePersonTypeId=value;
				if(_SalaryRulePersonTypeId!=null){
					_IsNullSalaryRulePersonTypeId=false;
					_InternalChangedIsNullSalaryRulePersonTypeId=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryRuleId")]
		public int SalaryRuleId{
			get{return _SalaryRuleId;}
			set{
				_SalaryRuleId=value;
				if(_SalaryRuleId!=null){
					_IsNullSalaryRuleId=false;
					_InternalChangedIsNullSalaryRuleId=true;
				}
			}
		}
		[XmlElement(ElementName = "PersonTypeId")]
		public int PersonTypeId{
			get{return _PersonTypeId;}
			set{
				_PersonTypeId=value;
				if(_PersonTypeId!=null){
					_IsNullPersonTypeId=false;
					_InternalChangedIsNullPersonTypeId=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SalaryRulePersonTypeEntityBase*****************************************/
	/*****************************************************************************************************/
}

